package animal;

public interface DataAccess {
    public boolean addAdult(VisitorAdult Adult);
    public boolean addChild(VisitorChild Child);
    public boolean deleteAdult(VisitorAdult Adult );
    public boolean deleteChild(VisitorChild Child );

    public boolean deleteAdult( String AdultName );
    public boolean deleteChild (String ChildName );

    public boolean updateAdult(VisitorAdult oldAdult,VisitorAdult newAdult);
    public boolean updateChild (VisitorChild oldChild,VisitorChild newChild );

    public VisitorAdult findAdult(String AdultName);
    public VisitorChild findChild(String ChildName);
}
